package iqq.mk.bean;

import java.io.Serializable;
import java.util.Arrays;

public class Card implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//card_id,theme_id,CardName,Price,Type,PickRate, Enable, version, time, item no, [mana]
	//[29,40,'城市街道',40,1,0,1,1,0,1027529,[0]],
	private int id;
	private int themeId;
	private ThemeCard theme;
	private String name;
	private int price;
	private int type;
	private int pickRate;
	private int enable;
	private int version;
	private int time;
	private int itemNo;
	private int[] mana;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getThemeId() {
		return themeId;
	}
	public void setThemeId(int themeId) {
		this.themeId = themeId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getPickRate() {
		return pickRate;
	}
	public void setPickRate(int pickRate) {
		this.pickRate = pickRate;
	}
	public int getEnable() {
		return enable;
	}
	public void setEnable(int enable) {
		this.enable = enable;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	public int getItemNo() {
		return itemNo;
	}
	public void setItemNo(int itemNo) {
		this.itemNo = itemNo;
	}
	public int[] getMana() {
		return mana;
	}
	public void setMana(int[] mana) {
		this.mana = mana;
	}
	@Override
	public String toString() {
		return "Card [id=" + id + ", themeId=" + themeId + ", name=" + name
				+ ", price=" + price + ", type=" + type + ", pickRate="
				+ pickRate + ", enable=" + enable + ", version=" + version
				+ ", time=" + time + ", itemNo=" + itemNo + ", mana="
				+ Arrays.toString(mana) + "]";
	}
	public ThemeCard getTheme() {
		return theme;
	}
	public void setTheme(ThemeCard theme) {
		this.theme = theme;
	}
	
}
